package com.jeejam.cart.service;

import java.util.List;

import com.jeejam.cart.pojo.CartItem;
import com.jeejam.framework.base.service.BaseService;

public interface CartItemService extends BaseService{
	
	public CartItem findByProductIdAndCartId(int productId, int cartId);
	
	public void delete(int cartId);
	
	public void delete(int productId, int cartId);
	
	public void updateCount(int id, int count);
	
	public void updateState(int id, int state);
	
	public void update(int id, int count, int state);
	
	public void updateCount(CartItem item);
	
	public void updateState(CartItem item);
	
	public List<CartItem> findForConfirmByCartId(int cartId);
}
